package drds.global_transaction.global_transaction_manager.api;

public interface GlobalTransactionExecutor
{

	/**
	 * Execute the business logic here.
	 */
	Object execute() throws Throwable;

	/**
	 * Given name of the global globalTransaction instance.
	 */
	String name();

	/**
	 * Global globalTransaction timeout in MILLISECONDS.
	 */
	int timeout();

}
